package cool.goodbai.util;

public class PageUtil {
    public static void checkPageParam(Integer current, Integer pageSize) {
        if (current <= 0 || pageSize <= 0) {
            throw new RuntimeException("分页参数校验失败");
        }
    }
}
